package com.example.chapter12.design.singleton.demo4;

public class Test {

    public static void main(String[] args) {
        Singleton singleton = SingletonEnum.INSTANCE.getSingleton();
        System.out.println("singleton = " + singleton);
        Singleton singleton1 = SingletonEnum.INSTANCE.getSingleton();
        System.out.println("singleton1 = " + singleton1);
    }
}
